package com.bjpowernode.stusys.mapper;

import com.bjpowernode.stusys.entity.Admin;

/**
 * @author jy
 * @version 1.0
 * @date 2021/12/1 10:11
 */
public interface AdminDao {
    //根据账号查询是否重复
    Admin findAdminByAccount(String account);

    // 根据账号密码执行添加操作
    int insertAdmin(Admin admin);

    int login(Admin admin);
}
